package com.yy.wga.goods.feign.response;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class ProductListResp {

    @JSONField(name = "next_key")
    private String nextKey;

    private List<Product> productList;

    @Data
    public static class Product {
        @JSONField(name = "product_id")
        private String productId;

        @JSONField(name = "shop_appid")
        private String shopAppid;

        /**
         * 商品推广数据
         */
        @JSONField(name = "product_promotion_link")
        private String productPromotionLink;

        /**
         * 商品标题
         */
        @JSONField(name = "title")
        private String title;

        /**
         * 商品子标题
         */
        @JSONField(name = "sub_title")
        private String subTitle;

        /**
         * 商品头图URL列表
         */
        @JSONField(name = "head_imgs")
        private List<String> headImgs;


        /**
         * 产品描述图片URL
         */
        @JSONField(name = "imgs")
        private List<String> imgs;

        /**
         * 产品描述
         */
        @JSONField(name = "desc")
        private String desc;
    }

}
